package controller
{
	import model.item.ItemModel;
	
	import org.robotlegs.mvcs.StarlingCommand;
	
	
	
	/**
	 * 处理搜索道具
	 * @author £iang
	 * 
	 */	
	public class SearchItemCommand extends StarlingCommand
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		/** ItemModel */
		[Inject]
		public var itemModel:ItemModel;
		
		//-----------------------------
		// properties
		//-----------------------------
		
		//-----------------------------
		// setter&getter
		//-----------------------------
		
		//-----------------------------
		// methods
		//-----------------------------
		
		/**
		 * 执行函数 
		 * 
		 */		
		override public function execute():void
		{
			trace( "开始搜索道具id：" + itemModel.curSearchItemId );
		}
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function SearchItemCommand()
		{
			super();
		}
	}
}